#include "stdafx.h"
#include "testDLL.h"

#pragma data_seg("shared")//Shared data among all instances.
int process1 = 0;
int process2 = 0;
#pragma data_seg()

#pragma comment(linker, "/SECTION:shared,RWS")//linker directive

int getValue1()
{
	return process1;
}

int getValue2()
{
	return process2;
}

void setValue1(int process)
{
	process1 = process;
}

void setValue2(int process)
{
	process2 = process;
}
